<?xml version="1.0"?>

<xsl:stylesheet
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	version="1.0">

<!--  <xsl:template match="/">

	<html>
		<head>
			<title>HTML file</title>
		</head>
		<body>	
			<xsl:apply-templates select="gateways"/>			
		</body>
	</html>

</xsl:template>

<xsl:template match="/gateway">

	<HTML>
	 
		<HEAD>
			<TITLE>Information about the Faculty</TITLE>
		</HEAD>
		<BODY>
			<TABLE BORDER="0" CELLSPACING="10">
				<TR>
					<TD bgcolor="00ff00"><xsl:apply-templates select="technology"/></TD>
					<TD bgcolor="00ff00"><xsl:apply-templates select="serviceName"/></TD><BR />
				</TR>			
			</TABLE>
		</BODY>
	</HTML>

</xsl:template>
</xsl:stylesheet>-->
<xsl:template match="/">

	<HTML>
	 
		<HEAD>
			<TITLE>Information about the Application</TITLE>
		</HEAD>
		<BODY>
			<TABLE BORDER="0" CELLSPACING="10">
				<TR>
					<TD VALIGN="TOP"><xsl:apply-templates select="gateways/"/></TD>
				</TR>			
			</TABLE>
		</BODY>
	</HTML>

</xsl:template>

<xsl:template match="gateways">


		<TABLE BGCOLOR="#000000" CELLSPACING="1" CELLPADDING="6">
		<TR>
			<TD COLSPAN="2" ALIGN="CENTER" BGCOLOR="#000000" WIDTH="380">
				<B><FONT FACE="Tahoma" COLOR="#FFFFFF">Information about the servers</FONT></B>
			</TD>
		</TR>
		
		<xsl:for-each select="gateway">
			<TR>
				<TD BGCOLOR="#F2F1CC" COLSPAN="2" ALIGN="CENTER">
					<B><FONT FACE="Tahoma" SIZE="-1"><xsl:value-of select="serviceName"/></FONT></B>
				</TD>
			</TR>
			<TR>
				<TD BGCOLOR="#CCCCFF">
					<B><FONT FACE="Tahoma" SIZE="-1">Service Name</FONT></B>
				</TD>
				<TD BGCOLOR="#FFFFFF" WIDTH="262">
					<FONT FACE="Tahoma" SIZE="-1"><xsl:value-of select="serviceName"/></FONT>
				</TD>
			</TR>
			<TR>
				<TD BGCOLOR="#CCCCFF">
					<B><FONT FACE="Tahoma" SIZE="-1">Techonology:</FONT></B>
				</TD>
				<TD BGCOLOR="#FFFFFF" WIDTH="262">
					<FONT FACE="Tahoma" SIZE="-1"><xsl:value-of select="technology"/></FONT>
				</TD>
			</TR>
			<TR>
			</TR>		
		</xsl:for-each>		
	
	</TABLE>

</xsl:template>	

</xsl:stylesheet>

